package com.wing.order.model.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 出/入库作业产品明细Form
 *
 * @author
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class InventoryJobLabelForm {

    /**
     * ID
     */
    private Long id;

    /**
     * 创建者
     */
    private Long creator;

    /**
     * 修改者
     */
    private Long modifier;

    /**
     * 创建人
     */
    private String creatorName;

    /**
     * 修改人
     */
    private String modifierName;

    /**
     * 出/入库作业id
     */
    private Long jobId;

    /**
     * ord_inventory_job_product表的主键
     */
    private Long jobProductId;

    /**
     * 平台sku id
     */
    private Long skuId;

    /**
     * 出库数量
     */
    private Long quantity;

    /**
     * 包装编码id
     */
    private Long packLabeId;

    /**
     * 包装编码
     */
    private String packLabeCode;

    /**
     * 包装规格描述id
     */
    private Long packId;

    /**
     * 包装规格名称
     */
    private String packName;
    /**
     * 单位包装数
     */
    private Long packLabeQuantity;
    public interface Add{}

    public interface Update{}


    private Long deliveryId;

    private Long deliveryDetailId;

    private Long warehouseId;

    private Long areaId;

    private Long shelfId;

    private Long spaceId;

    private Long boxId;


    private Long receiveId;

    private Long receiveDetailId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    protected LocalDateTime receiveTime;

    private Long receiverId;

    private String receiverName;

    private Long loadPlanId;

    private Long loadPlanDetailId;

    /**
     * 签收产品详情id
     */
    private Long signProductDetailId;
    /**
     * 出入库类型code
     */
    private String inoutTypeCode;
    /**
     * 入库类型名称
     */
    private String inoutTypeName;
}
